package o;

import java.util.Queue;

abstract class tz<T extends ul> {
    private final Queue<T> ॱ = aau.ॱ(20);

    abstract T ˏ();

    tz() {
    }

    T ˋ() {
        ul ulVar = (ul) this.ॱ.poll();
        if (ulVar == null) {
            return ˏ();
        }
        return ulVar;
    }

    public void ॱ(T t) {
        if (this.ॱ.size() < 20) {
            this.ॱ.offer(t);
        }
    }
}
